package nc.itf.capub.datamanager;

import nc.vo.pub.BusinessException;

public class DataHandleException extends BusinessException {
	private static final long serialVersionUID = -3175798884443961827L;
	private String errorCode;
	private String errorMessage;

	public DataHandleException(String errorMessage) {
		super(errorMessage);
		this.errorMessage = errorMessage;
	}

	public DataHandleException(String errorCode, String errorMessage) {
		super(errorMessage);
		this.errorCode = errorCode;
		this.errorMessage = errorMessage;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
}